package com.dlc.shop.bean.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author Yami
 */
@Data
public class OrderRefundParam {

    @NotEmpty(message = "退款ID不能为空")
    @Schema(description = "退款ID" )
    private Long refundId;

    @NotEmpty(message = "退款编号不能为空")
    @Schema(description = "退款编号" )
    private String refundSn;

    @NotNull(message = "退款编号不能为空")
    @Schema(description = "处理状态（2:同意，3:不同意）" )
    private Integer refundSts;

    /**
     * 商家/供应商文件凭证(逗号隔开)
     */
    @Schema(description = "商家/供应商文件凭证(逗号隔开)")
    private String shopImgUrls;

    @Schema(description = "退款原因" )
    private String rejectMessage;

    @Schema(description = "退款地址标识（ID）" )
    private Long refundAddrId;

    @Schema(description = "商家备注" )
    private String sellerMsg;

    @Schema(description = "是否收到货" )
    private Boolean isReceiver;

    @Schema(description = "退款金额")
    private Double refundAmount;

    @Schema(description = "是否平台端处理介入退款")
    private Boolean isPaltform = false;
}
